<template>
  <div :class="['myIndexVue']" :id="cls_id">
    <div class="view">

      <img src="img/btnbg.png" class="imgcls">
    </div>
  </div>
</template>


<style scoped>
.myIndexVue{
  font-size: 0.14rem;color: black;
}

.view{
 background-image: url("../../assets/img/bg.png");width: 4.93rem;height: 5.19rem;
}

.view .imgcls{
  width:0.96rem ;height: 0.38rem;
}

</style>

<script setup>
/*组件挂载完成后执行的函数；*/
import {ref,reactive,watch,computed,onBeforeUnmount, onMounted, onUnmounted} from "vue";
import { useStore} from 'vuex';




let store = useStore();
let cls_id=winApp.getClsId();

onMounted(() => {
  console.log("myIndexVue onMounted 初始化");

});


onBeforeUnmount(() => {
  console.log('myIndexVue onBeforeUnmount');
})
onUnmounted(() => {
  //卸载组件实例后调用,调用此钩子时,组件实例的所有指令都被解除绑定,所有事件侦听器都被移除,所有子组件实例被卸载。
  console.log("myIndexVue onUnmounted 卸载组件实例后  ");
});


</script>





